<!DOCTYPE html>
<html>
<head>
<?php
echo $this->viewMetaContent();
echo $this->viewTitle();
echo $this->viewCSS();
echo $this->viewCSSImports();
echo $this->viewJSRefer();
echo $this->viewJS();
echo $this->viewJSImports();
// echo $this->viewRawURL();
echo '<script type="text/javascript">
		AppConfigs.baseURL = "'.$this->getContext()->getBaseUrl().'"
		</script>';
?>

</head>
<body>
<div id="wrapper">
	<div id="topnav">
		<div class="logo">
			<img alt="Ndev logo" src="<?php echo $this->getImageUrl();?>logo.png">
			<div class="version">Version <?php echo ApplicationConfig::getInstance()->getConfig(ApplicationConfig::VERSION)?></div>
		</div>
		<div class="name"><?php echo $this->layoutTitle()?></div>
		<div class="setting">
		<?php 
		$parram = array(
			'imageURL'=>$this->getImageUrl(),
			'context'=>$this->getContext()
		);
		$this->block('Auth',$parram);?>
		</div>
	</div>
	<!-- end topnav -->
	<div id="main">
		<div class="dashboard">
		<?php 
		$this->block('CPanel',$parram);
		?>
		</div>
		<div class="content"><?php $this->content(); ?></div>
	</div>
	<!-- end main -->
	<div id="bottom"></div>
	<!-- end bottom -->
</div>
</body>
</html>
